Invalid SQL syntax - expected a view name. (Error 3780)

This error occurs when trying to create or drop a view using SQL DDLÆs CREATE VIEW or DROP VIEW syntax. It occurs if a valid name is not specified. For example, the following statement would generate the error: CREATE VIEW AS SELECT * FROM table1.